label: Don't add in the allocation to our clip again
authorJasper St. Pierre <jstpierre@mecheye.net>
Tue, 30 Sep 2014 18:32:47 +0000 (12:32 -0600)
committerJasper St. Pierre <jstpierre@mecheye.net>
Tue, 30 Sep 2014 19:43:36 +0000 (13:43 -0600)
_gtk_widget_set_simple_clip already takes the allocation into account,
so we don't need to do it here.

gtk/gtklabel.c

index 024db06884476e042d831af5381785b0985d2016..bd92d8c412576565a430be3e7baaede8ea746a09 100644 (file)
@@ -4053,7 +4053,6 @@ gtk_label_size_allocate (GtkWidget     *widget,
     }
 
   gtk_label_get_ink_rect (label, &clip_rect);
-  gdk_rectangle_union (&clip_rect, allocation, &clip_rect);
   _gtk_widget_set_simple_clip (widget, &clip_rect);
 }